<?php

namespace app\common\exception;


use think\Exception;

class ApiException extends Exception {
    public $message = '';
    public $httpCode = 500;
    public $status = 1;

    public function __construct($message = '', $httpCode = 0, $status = 0) {
        $this->httpCode = $httpCode;
        $this->message  = $message;
        $this->status   = $status;
    }
}